package org.liuyunfeng;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.Arrays;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2021-12-28 15:29
 **/
@SpringBootApplication
@EnableFeignClients
@EnableScheduling
//@ServletComponentScan
public class HelloApplication {
    static ApplicationContext applicationContext;

    public static void main(String[] args) {
        SpringApplication.run(HelloApplication.class, args);
        Runtime.getRuntime().addShutdownHook(new Thread(() -> System.out.println("gouzi")));
    }
}

    